package ecom.appcode.dao.daointerface;

import java.util.List;

import ecom.appcode.common.bean.OrderBean;
import ecom.appcode.common.bean.OrderDetailBean;
import ecom.appcode.common.daobean.OrderDetailDaoBean;

public interface OrderDetailDao {
    
    /** Insert Order Details */
    boolean insertOrderDetails(int shoesID, int quantity, float unitPrice, float total, int orderID);
    
    /** SELECT BEST PRODUCT */
    List<OrderDetailBean> selectBestProduct();
    
    /** SELECT ALL ORDER DETAIL */
    List<OrderDetailDaoBean> viewAllOrderDetail();
    
    /** SELECT ALL ORDER DETAIL AND ORDER*/
    List<OrderBean> loadOrderAndDetail();
    
    /** Delete orderDaoBean */
    boolean deleteOrderDetail(int ID);
}
